package com.yf.exam.modules.trainingarchives.teacherattendance.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;

@Data
@ApiModel(value="TeacherAttendanceDTO对象", description="教师签到DTO")
public class TeacherAttendanceDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "教师签到ID")
    private String id;

    @ApiModelProperty(value = "外键: 培训班信息")
    @NotBlank(message = "培训班信息id不能为空！")
    private String trainingClassInfoId;

    @ApiModelProperty(value = "日期")
//    @NotNull(message = "签到日期不能为空！")
    private LocalDate signDate;

    @ApiModelProperty(value = "上午/下午")
    @NotBlank(message = "签到时段不能为空！")
    private String timeOfDay;

    @ApiModelProperty(value = "一/二")
    @NotBlank(message = "签到课节不能为空！")
    private String signLesson;

    @ApiModelProperty(value = "授课内容")
    @NotBlank(message = "授课内容不能为空！")
    private String teachingContent;

    @ApiModelProperty(value = "教师签到")
//    @NotBlank(message = "教师签到不能为空！")
    private String teacherSign;

}
